<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <div onclick="handleParentClick()">
    <button onclick="handleChildClick">Click me</button>
  </div>


  <script>

    function handleChildClick(e) {
      e.stopPropagation()

      console.log('==handleChildClick====>',)


    }
    function handleParentClick() {


      throw new Promise((resolve, reject) => { })
      console.log('==handleParentClick====>',)


      return 0
    }















  </script>
</body>

</html>